package cn.lyjuan.payment.third.base.pay.chl.impl.ali.bean;

import cn.lyjuan.payment.third.base.pay.vo.req.ChlCnf;

public class AliChlCnf extends ChlCnf {
    /**
     * 本地公钥
     */
    protected String rsaPub;

    /**
     * 本地私钥
     */
    protected String rsaPri;

    /**
     * 支付宝公钥
     */
    protected String aliRsaPub;

    /**
     * 支付宝商户ID
     */
    protected String mchId;

    public AliChlCnf() {
    }

    public AliChlCnf(String rsaPub, String rsaPri, String aliRsaPub, String certPath, String mchId) {
        this.rsaPub = rsaPub;
        this.rsaPri = rsaPri;
        this.aliRsaPub = aliRsaPub;
        this.certPath = certPath;
        this.mchId = mchId;
    }

    public String getRsaPub() {
        return rsaPub;
    }

    public void setRsaPub(String rsaPub) {
        this.rsaPub = rsaPub;
    }

    public String getRsaPri() {
        return rsaPri;
    }

    public void setRsaPri(String rsaPri) {
        this.rsaPri = rsaPri;
    }

    public String getAliRsaPub() {
        return aliRsaPub;
    }

    public void setAliRsaPub(String aliRsaPub) {
        this.aliRsaPub = aliRsaPub;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    @Override
    public String toString() {
        return "AliChlCnf{" +
                "rsaPub='" + rsaPub + '\'' +
                ", rsaPri='" + rsaPri + '\'' +
                ", aliRsaPub='" + aliRsaPub + '\'' +
                ", chlType=" + chlType +
                ", mchId='" + appId + '\'' +
                ", key='" + key + '\'' +
                ", certPath='" + certPath + '\'' +
                '}';
    }
}
